package com.cc.blog.web.convert;

import com.cc.blog.admin.model.BlogSettingsDO;
import com.cc.blog.web.domain.vo.FindBlogSettingsDetailRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 博客设置转换类
 * @Author cc
 * @Date 2024/7/12 10:59
 */
@Mapper
public interface BlogSettingsConvert {

    /**
     * 初始化 convert 实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    /**
     * 将 DO 转化为 VO
     * @param bean
     * @return
     */
    FindBlogSettingsDetailRspVO convertDO2VO(BlogSettingsDO bean);
}
